home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
diskutil
/
hdboot2.arc
/
HDB.DOC
next >
Wrap
Text File
|
1987-07-09
|
4KB
|
84 lines
************ HDB_2V4.ARC Documentation **** 9.7.87 **************
################################################
# Copyright of all programs in this archive by #
# #
# Konrad A. Hahn #
# Karlstr.19 #
# D-6109 Muehltal #
# W.-Germany #
# #
# Permission of charge free copy and usage #
# only for noncommercial users #
################################################
The HDB_2V4 archive should contain 3 files:
1) HDB.PRG (Hard Disk Boot Installer, Version 2.4)
2) HDB.DOC (this file)
3) INITDRV.TOS (Drive Initialization)
The ATARI ROM-TOS has a build in primary bootstrap loader for DMA units.
This loader tries to read the boot sector (logical sector 0) of every
DMA unit (totally 8 units).
The difficulty of the hard disk boot was to create a secondary bootstrap
loader which fits in a single sector. Actually you only have 438 bytes
because sector 0 contains the partition information block starting at $1b6.
Another complicating point was that I wanted to use the original hard disk
driver (AHDI.PRG) as a standard file (no reserved sectors, no reformat !).
The booter HDB solves the problem with a trick.
It installs a rudimentary hard disk driver (read only), loads AHDI.PRG with
Pexec(3,..) and removes the boot driver before it starts AHDI.
If AHDI.PRG is not found or does not return the termination code 0 the boot
is continued as normal with drive A: .
HDB does *not* use any TOS internal addresses!
The only dependence is the return method (double ret) based on the activation
by the primary bootstrap loader as published in the HITCH'GUIDE.
Thus it should work with future TOS versions.
Important Note:
HDB is intended to work with AHDI.PRG and a hard disk partitioned by HDX.PRG.
The partitioning scheme must have reserved logical sector 0 for the PIB
(Partitioning Information Block) only. Or in other words, logical sector 0
must *not* be part of any partition.
If you are using a different hard disk driver it must be compatible to AHDI.PRG,
especially in the call format of nonpartitioned hard disk access and the format
of the PUN (Physical Unit Table).
############################ Installation ######################################
Have your system booted up with the hard disk.
Copy AHDI.PRG into the root directory (\) of your boot partition.
Create a subdirectory \AUTO in the root directory (\) of your boot partition
and copy your startup programs (GEMBOOT.PRG) into it.
Execute HDB and click "install" with your boot partition being selected.
########################### Deinstallation #####################################
If you want to change back to the floppy as default boot drive, execute HDB and
click "deinstall".
############################ Boot Options ######################################
If you press left shift + control + alternate key during the first boot phase
HDB will switch to the floppy (drive A:) as boot drive.
INITDRV.TOS is a little program which you can use if you want to change your
drive configuration without boot. Formerly you could not use your floppy without
reboot, if you booted with floppy drive(s) off. Now you put them on, execute
INITDRV.TOS and you can use them.
Enjoy.
Konrad A. Hahn
Dept. of Computer Science @ Techn. University Darmstadt
Merckstr.25, D-6100 Darmstadt, W.-Germany
BITNET: XBR4D76H@DDATHD21